﻿using SYJ.Factory;
using SYJ.IBLL;
using SYJ.IDAL;
using SYJ.Model.Entities;
using SYJ.Model.ViewModel.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYJ.BLL
{
   public class SysUserBLL:BaseBLL<SysUser>,IBLL.ISysUserBLL
    {
       protected ISysUserDAL idal = DALFactory.CreateSysUserDAL();
        /// <summary>
        /// 实现父类抽象方法
        /// </summary>
        /// <returns></returns>
       protected override IBaseDal<SysUser> GetDal()
        {
            return idal;
        }
       

       public SysUser Login(LoginModel model)
       {
           return idal.Login(model);
       }
    }
}
